package com.ybl.stepview_yw;

import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.ybl.library.TradeResultStepView;

import java.util.List;

/**
 * Desc:
 * Creator ling
 * Date:   2017/7/3 0003 09:35
 */

public abstract class ResultStepActivity extends AppCompatActivity {
    private TradeResultStepView mSetpview0;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_result_step);
        mSetpview0 = (TradeResultStepView) findViewById(R.id.step_view0);


        mSetpview0.setStepViewTexts(getStepViewTexts());
//               .setStepsViewIndicatorSmallIcon(ContextCompat.getDrawable(this, R.drawable.default_icon))//设置StepsViewIndicator DefaultIcon
//                .setStepsViewIndicatorBigIcon(ContextCompat.getDrawable(this, R.drawable.icon_attention));//设置StepsViewIndicator AttentionIcon
    }


    public abstract List<View> getStepViewTexts();

}
